package com.gprcclient;

import com.gprcclient.config.HuiDuConfigMeata;
import com.gprcclient.config.TestConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author: LCG
 * @date: 2022-10-25 12:04:59
 * @description:
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@RibbonClients(
        {
                @RibbonClient(name = "grpc-server1",configuration = TestConfig.class)
        }
)
public class TestGrpcClient {
    public static void main(String[] args) {
        SpringApplication.run(TestGrpcClient.class,args);
    }
}
